package com.ishanggang.mapper;

import com.ishanggang.entity.ShopQuechao;
import com.ishanggang.vo.BrandShopExcelVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopQuechaoMapper {
    ShopQuechao selectById(Long id);

    Long selectMaxId();

    int updateShopLongLatAddressDistance(@Param("id") Long id, @Param("longLatAddressDistance") Double longLatAddressDistance);

    int updateShopLongLat(@Param("id") Long id, @Param("lng") Double lng, @Param("lat") Double lat);

    int batchInsert(@Param("list") List<BrandShopExcelVo> cachedDataList);
}
